//
//  SuggestNet.m
//  beautyLamp
//
//  Created by Tam Kwok To Michael on 2017/10/5.
//  Copyright © 2017年 Tam Kwok To Michael. All rights reserved.
//

#import "SuggestNet.h"
#import "BLHeader.h"
#import "BasicNetManager.h"

@implementation SuggestNet

+ (void)postSuggest:(NSString *)suggest  completer:(void(^)(id resultObject, NSError *error))completer {
    BasicNetManager *manager = [BasicNetManager share];
    NSString *tel  = [[NSUserDefaults standardUserDefaults] objectForKey:USERTEL];
    NSDictionary *dic = @{@"feedBack" : suggest, @"userTel" : tel};
    [manager postURL:SUGGESTION param:dic completer:^(id result, NSError *error) {
        if (completer) {
            completer(result, error);
        }
    }];
}

@end
